home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util4 / clicker.lha / Clicker / Source / Makefile < prev    next >
Makefile  |  1995-12-31  |  825b  |  33 lines

  1. # Makefile for Clicker, using gcc as compiler.
  2.  
  3. # Set PROCESSOR to -m68010, -m68020, -m68030, -m68040 or -m68060 to generate
  4. # code for these processors, or -m68000 to keep compatible with all Amigas.
  5. PROCESSOR = -m68040
  6.  
  7. # Set MATH to -m68881 if wish to compile for machines with a mathematical
  8. # coprocessor.  Otherwise, just comment out this line.
  9. MATH = -m68881
  10.  
  11. CC = gcc
  12. CFLAGS = -ansi -Wall -O3 -s $(PROCESSOR) $(MATH)
  13. LDFLAGS = -s -noixemul $(PROCESSOR) $(MATH)
  14. LOADLIBES = -lamiga -lm
  15.  
  16. RM = C:Delete
  17.  
  18. OBJS = main.o broker.o sound.o prefs.o gui.o
  19. HDRS = main.h broker.h sound.h prefs.h gui.h
  20.  
  21. Clicker : $(OBJS)
  22.     $(CC) $(OBJS) $(LDFLAGS) -o $@ $(LOADLIBES)
  23.  
  24. main.o : main.c $(HDRS)
  25. broker.o : broker.c broker.h main.h
  26. sound.o : sound.c sound.h prefs.h main.h
  27. gui.o : gui.c gui.h
  28.  
  29. clean :
  30.     $(RM) $(OBJS)
  31.  
  32. .PHONY : clean
  33.